﻿namespace AbpProjectTemplate.Components.Events.Entities
{
    /// <summary>
    /// 实体修改前事件
    /// </summary>
    public class EntityUpdateEventData<TEntity> : EntityChangeEventData<TEntity>
    {
        public EntityUpdateEventData(TEntity entity, TEntity originalEntity) : base(entity, originalEntity)
        {

        }

        public override object[] GetConstructorArgs()
        {
            return new object[] { this.Entity, this.OriginalEntity };
        }
    }
}
